import Layout from '@/layout'

const truckRouter = {
  path: '/truck',
  component: Layout,
  redirect: '/truck/truckManagement',
  name: 'truck',
  meta: { roles: ['truckManagement'] },
  children: [
    {
      path: 'truckManagement',
      component: () => import('@/views/truck/truckManagement/index'),
      name: 'truckManagement',
      meta: { icon: 'el-icon-truck', title: '货车信息管理' }
    }
  ]
}
export default truckRouter
